package com.zzy.netty.learn.demo.future_callback;

import java.util.concurrent.Future;

import com.zzy.netty.learn.demo.future_callback.listener.MyHandler;


/**
 * 扩展接口
 * @author yue
 *
 */
public interface MyFutureRunnable extends Future<Object>, Runnable{
	
	/**
	 * 添加注册方法
	 * @param state
	 * @param handle
	 */
   public void reg(int state, MyHandler handler);

}
